﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;
namespace Business
{
    public class Login_BUL
    {
        Login_DA da = new Login_DA();
        public string Dangnhap(string user, string pass)
        {
            return da.Dangnhap(user, pass);
        }
        public bool Doipass(string user, string pass)
        {
            if (da.Doipass(user, pass))
                return true;
            else
                return false;
        }
        public bool Ktpass(string pass)
        {
            if (da.Ktpass(pass))
                return true;
            else
                return false;
        }
    }
}
